The profiling context of resource deployment. More...
#include <kanzi/core.ui/resource/resource_profiling_deploy_context.hpp>
Classes | |
class | Sampler |
The context sampler. More... | |
Protected Member Functions | |
void | getAttributesOverride (ResourceProfilingAttributes &attributes) const override |
Gets the attributes of the context defined in the derived class. | |
Duration | getDurationOverride () const override |
Gets the duration of the context. | |
ResourceProfilingDeployContext (TimeStamp entryTimeStamp, ResourceProfilingDataSampleSharedPtr profiledResource) | |
Constructor. | |
Protected Member Functions inherited from kanzi::NamedResourceProfilingContext | |
NamedResourceProfilingContext (TimeStamp entryTimeStamp, string &&name) | |
Constructor. | |
NamedResourceProfilingContext (TimeStamp entryTimeStamp, string_view name) | |
Constructor. | |
Protected Member Functions inherited from kanzi::ResourceProfilingContext | |
Duration | getDependenciesDuration () const |
Gets the total duration of all dependency contexts. | |
ResourceProfilingContext (TimeStamp entryTimeStamp) | |
Constructor. | |
Additional Inherited Members | |
Public Types inherited from kanzi::ResourceProfilingContext | |
typedef chrono::nanoseconds | Duration |
The duration type. | |
typedef vector< ResourceProfilingContextSharedPtr > | ResourceProfilingContextContainer |
The resource profiling context container. | |
typedef Duration | TimeStamp |
The timestamp. | |
Public Member Functions inherited from kanzi::ResourceProfilingContext | |
void | addDependencyContext (ResourceProfilingContextSharedPtr context) |
Adds a dependency context. | |
void | getAttributes (ResourceProfilingAttributes &attributes) const |
Retrieves the attributes of the context. | |
const ResourceProfilingContextContainer & | getDependencyContexts () const |
Gets dependency contexts container. | |
TimeStamp | getEntryTimeStamp () const |
Gets the entry timestamp of the context. | |
uint64_t | getID () const |
Gets the unique identifier of the context. | |
void | recordExitTimeStamp () |
Records exit timestamp on the context. | |
virtual | ~ResourceProfilingContext () |
Destructor. | |
Static Public Member Functions inherited from kanzi::ResourceProfilingContext | |
static TimePoint | getCurrentTimePoint () |
Gets the current timepoint. | |
static TimeStamp | getCurrentTimeStamp () |
Gets the current timestamp. | |
Protected Attributes inherited from kanzi::NamedResourceProfilingContext | |
string | m_name |
The name of the context. | |
The profiling context of resource deployment.
|
explicitprotected |
Constructor.
entryTimeStamp | The timestamp evaluated at entry to the scope of the resource profiling context. |
profiledResource | The profiled resource. |
|
overrideprotectedvirtual |
Gets the attributes of the context defined in the derived class.
attributes | The attributes object to fill out with the attributes of the context. |
Reimplemented from kanzi::NamedResourceProfilingContext.
|
overrideprotectedvirtual |
Gets the duration of the context.
The duration of the context is the sum of the duration of resource loading and deployment that occurred in the scope of this context and the dependency contexts.
Reimplemented from kanzi::ResourceProfilingContext.